package com.swanclouds.model.account.builder;

import com.swanclouds.common.Buildable;
import com.swanclouds.model.account.LdapController;
import com.swanclouds.model.account.LdapGroup;

import java.util.List;

/**
 * @author 张立强
 * @version jdk1.8.0
 */
public interface LdapControllerBuilder extends Buildable.Builder<LdapControllerBuilder, LdapController> {

    LdapControllerBuilder LdapServerAddress(String address);
    LdapControllerBuilder LdapPort(Integer port);
    LdapControllerBuilder UserDomain(String userDomain);
    LdapControllerBuilder BindDN(String bindDN);
    LdapControllerBuilder BindPassword(String bindPassword);
    LdapControllerBuilder CertificateVerificationEnabled(Boolean CertificateVerificationEnabled);
    LdapControllerBuilder CertificateVerificationLevel(String certificateVerificationLevel);
    LdapControllerBuilder LdapGroups(List<LdapGroup> ldapGroups);
    LdapControllerBuilder AddLdapGroup(LdapGroup ldapGroup);
}
